

from core.himesis import Himesis
import cPickle as pickle
from uuid import UUID

class HS2MS2F_example_newMM(Himesis):
    def __init__(self):
        """
        Creates the himesis graph representing the AToM3 model HS2MS2F_example_newMM.
        """
        # Flag this instance as compiled now
        self.is_compiled = True
        
        super(HS2MS2F_example_newMM, self).__init__(name='HS2MS2F_example_newMM', num_nodes=30, edges=[])
        
        # Add the edges
        self.add_edges([(10, 18), (18, 12), (10, 19), (19, 3), (11, 20), (20, 13), (11, 21), (21, 1), (25, 0), (9, 0), (29, 0), (12, 4), (4, 3), (13, 5), (5, 1), (6, 16), (6, 22), (6, 23), (7, 17), (7, 24), (7, 25), (1, 29), (14, 8), (8, 2), (15, 9), (16, 10), (17, 11), (22, 14), (23, 2), (24, 15), (27, 2), (12, 26), (13, 28), (26, 14), (28, 15), (3, 27)])
        # Set the graph attributes
        self["mm__"] = pickle.loads("""(lp1
S'SimpleDSLTransMM'
p2
a.""")
        self["name"] = """S2MS2F_example_newMM"""
        self["GUID__"] = UUID('ded77478-b507-42e7-afd2-e819172f9b78')
        
        # Set the node attributes
        self.vs[0]["mm__"] = """Female_S"""
        self.vs[0]["classtype"] = """female"""
        self.vs[0]["name"] = """female_match_2"""
        self.vs[0]["GUID__"] = UUID('a922a024-8ff7-4bc8-9112-aca99064e14c')
        self.vs[1]["mm__"] = """Female_T"""
        self.vs[1]["classtype"] = """female"""
        self.vs[1]["name"] = """female_apply_2"""
        self.vs[1]["GUID__"] = UUID('f1351908-aaa4-436a-ac65-4e9e0be43a5b')
        self.vs[2]["mm__"] = """Male_S"""
        self.vs[2]["classtype"] = """male"""
        self.vs[2]["name"] = """male_match_1"""
        self.vs[2]["GUID__"] = UUID('2c05305b-4f9d-45c2-be3d-fa842109eadb')
        self.vs[3]["mm__"] = """Male_T"""
        self.vs[3]["classtype"] = """male"""
        self.vs[3]["name"] = """male_apply_2"""
        self.vs[3]["GUID__"] = UUID('9bc62911-10f8-44d7-b220-ede9963ddc32')
        self.vs[4]["mm__"] = """directLink_T"""
        self.vs[4]["associationType"] = """t_"""
        self.vs[4]["GUID__"] = UUID('c03abd69-1155-4080-bc34-04850d890ba9')
        self.vs[5]["mm__"] = """directLink_T"""
        self.vs[5]["associationType"] = """t_"""
        self.vs[5]["GUID__"] = UUID('61439974-8ea6-4bcb-bc9a-d425982784a5')
        self.vs[6]["mm__"] = """MatchModel"""
        self.vs[6]["GUID__"] = UUID('e3d2f2ff-b598-4de2-b8cf-cf623f3af3aa')
        self.vs[7]["mm__"] = """MatchModel"""
        self.vs[7]["GUID__"] = UUID('08d5f7e4-554a-42c5-ab04-50b4f6e8dd61')
        self.vs[8]["mm__"] = """indirectLink_S"""
        self.vs[8]["GUID__"] = UUID('4a8b36aa-3e47-403d-9e29-e39cfa75f60f')
        self.vs[9]["mm__"] = """indirectLink_S"""
        self.vs[9]["GUID__"] = UUID('f34db7c5-549b-4c63-8ff4-1569b3b83bb7')
        self.vs[10]["mm__"] = """ApplyModel"""
        self.vs[10]["GUID__"] = UUID('a86aff4f-0017-44ae-841b-a0339aeddb6f')
        self.vs[11]["mm__"] = """ApplyModel"""
        self.vs[11]["GUID__"] = UUID('a32556e6-d508-4fb7-94ce-83da85418f3e')
        self.vs[12]["mm__"] = """Station_T"""
        self.vs[12]["classtype"] = """station"""
        self.vs[12]["name"] = """station_apply_1"""
        self.vs[12]["GUID__"] = UUID('e1497595-ec3f-4bd8-98fb-9325dbaa054e')
        self.vs[13]["mm__"] = """Station_T"""
        self.vs[13]["classtype"] = """station"""
        self.vs[13]["name"] = """station_apply_2"""
        self.vs[13]["GUID__"] = UUID('ca876ae0-dd34-4648-800f-35cd68ab1699')
        self.vs[14]["mm__"] = """Station_S"""
        self.vs[14]["classtype"] = """station"""
        self.vs[14]["name"] = """station_match_1"""
        self.vs[14]["GUID__"] = UUID('42dabda3-8219-4e16-8f52-a48c4d9fe6e2')
        self.vs[15]["mm__"] = """Station_S"""
        self.vs[15]["classtype"] = """station"""
        self.vs[15]["name"] = """station_match_2"""
        self.vs[15]["GUID__"] = UUID('41863daf-747e-46e0-b77d-a5bff5670aa3')
        self.vs[16]["mm__"] = """paired_with"""
        self.vs[16]["GUID__"] = UUID('000ae144-40ff-407c-8463-175591fb88d7')
        self.vs[17]["mm__"] = """paired_with"""
        self.vs[17]["GUID__"] = UUID('0eb127a4-ba1a-4fdd-b613-a3ec6b036655')
        self.vs[18]["mm__"] = """apply_contains"""
        self.vs[18]["GUID__"] = UUID('bf027f12-6027-428e-b4ae-f1edf04d25d4')
        self.vs[19]["mm__"] = """apply_contains"""
        self.vs[19]["GUID__"] = UUID('c5b2f1e6-d6b0-4d4d-9dcd-487586f5c2ad')
        self.vs[20]["mm__"] = """apply_contains"""
        self.vs[20]["GUID__"] = UUID('d5c68865-c162-43b6-b125-21c42f4ce399')
        self.vs[21]["mm__"] = """apply_contains"""
        self.vs[21]["GUID__"] = UUID('0248bc1d-ca7c-4fdc-beb4-95c2f7b9c4a6')
        self.vs[22]["mm__"] = """match_contains"""
        self.vs[22]["GUID__"] = UUID('50f215da-80c5-44bc-9566-c3237ef267e4')
        self.vs[23]["mm__"] = """match_contains"""
        self.vs[23]["GUID__"] = UUID('2b5d5083-351f-463c-bc63-8b4d07955e06')
        self.vs[24]["mm__"] = """match_contains"""
        self.vs[24]["GUID__"] = UUID('0ed1ee4a-c838-43a0-874c-1e53be7b7606')
        self.vs[25]["mm__"] = """match_contains"""
        self.vs[25]["GUID__"] = UUID('b912fcca-dcf5-40fa-b572-27bafcd398cc')
        self.vs[26]["mm__"] = """backward_link"""
        self.vs[26]["GUID__"] = UUID('1c7262d3-ab63-41bf-8738-6df439b05642')
        self.vs[27]["mm__"] = """backward_link"""
        self.vs[27]["GUID__"] = UUID('6de48553-af27-4a49-899f-053d46e7e059')
        self.vs[28]["mm__"] = """backward_link"""
        self.vs[28]["GUID__"] = UUID('b4f442e6-784e-47ad-a510-e37098f16018')
        self.vs[29]["mm__"] = """backward_link"""
        self.vs[29]["GUID__"] = UUID('b3d21b93-f6cc-4b98-84cf-c4b30778ebc0')

